// Figure.cpp: implementation of the Figure class.
//
//////////////////////////////////////////////////////////////////////

#include "Figure.h"

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

Figure::Figure(){
}

Figure::~Figure(){
	if(borderColor!=NULL){
		delete borderColor;
		borderColor=NULL;
	}
	if(fillColor!=NULL){
		delete fillColor;
		fillColor=NULL;
	}
	this->texture=NULL;
}

Figure::Figure(std::string id1):id(id1){};


std::string Figure::getId() const{
	return this->id;
}

Color* Figure::getBorderColor()const{
	return this->borderColor;
}
